Fix a possible crash in gtk_show_uri
authorMatthias Clasen <mclasen@redhat.com>
Mon, 19 Apr 2021 20:39:53 +0000 (16:39 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 19 Apr 2021 20:49:02 +0000 (16:49 -0400)
commitce2a433ca157b444b54646aa0383ff5b75cc41f9
tree5c9349f3f7ebe9fb87a73cb463b829a078709379
parent435ed3158cff7b9967aae2a33f52aab0d23720f6
Fix a possible crash in gtk_show_uri

g_file_get_basename can return NULL.
Deal with it somehow.

Fixes: #3883
gdk/x11/gdkapplaunchcontext-x11.c